<template>
	<view>
		<view class="container">
			<text style="font-size: 38rpx;">本月可领取袋次数:</text>

			<view class="row records-item">
				<image src="/static/icon_perishable@3x.png" style="width: 90rpx;height: 90rpx;" mode=""></image>
				<text style="margin-left: 30rpx;">易腐垃圾袋</text>
				<text style="margin-left: auto;">0</text>
			</view>
			<view class="row records-item" style="">
				<image src="/static/icon_other@3x.png" style="width: 90rpx;height: 90rpx;" mode=""></image>
				<text style="margin-left: 30rpx;">其他垃圾袋</text>
				<text style="margin-left: auto;">0</text>
			</view>
		</view>
		<view class="bottom" style="font-size: 32rpx;">
			垃圾袋不足可前往商品兑换机使用青豆购买
		</view>
		<view class="scan">
			扫一扫
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		onNavigationBarButtonTap(e) {
			console.log("明细")
		}
	}
</script>

<style lang="scss">
	.container {
		padding: 30rpx 35rpx;
		margin-top: 50rpx;
	}

	.records-item {
		margin: 30rpx 0rpx;
		padding: 15rpx 35rpx;
		border-radius: 35rpx;
		align-items: center;
		box-shadow: -2px 1px 8px 1px rgba(0, 0, 0, 0.1);
		// border: solid 1rpx #eee;
	}

	.bottom {
		width: 90%;
		color: #9f9f9f;
		text-align: center;
		position: absolute;
		bottom: 350rpx;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	.scan{
		background-color: #45A5FC;
		width: 90%;
		color: #9f9f9f;
		text-align: center;
		position: absolute;
		bottom: 200rpx;
		left: 50%;
		transform: translate(-50%, -50%);
		color: #FFFFFF;
		height: 100rpx;
		line-height: 100rpx;
		border-radius: 50rpx;
	}
</style>
